//处理路径拼接
export const handlerPathJoin = (paths) => {
  let str = "";
  paths.forEach((item) => {
    console.log(item.trim());
    if (item.trim().startsWith("/")) {
      str += item;
    } else {
      str += `/${item}`;
    }
  });
  return str;
};
